package com.example.wod.retrofitdemo.Bean;

import java.util.List;

/**
 * Created by Wod on 2016/1/15.
 */
public class GetUserList {

    /**
     * code : SUCCESS
     * info : 获取成功！
     * data : [{"id":"122005","type":"putong","hb_group":"20","status":"opened","amount":"1.53","get_time":"0","merchant":"lskfj","type_name":"普通红包","volume_count":"0","gem_count":"0"}]
     */

    private String code;
    private String info;
    /**
     * id : 122005
     * type : putong
     * hb_group : 20
     * status : opened
     * amount : 1.53
     * get_time : 0
     * merchant : lskfj
     * type_name : 普通红包
     * volume_count : 0
     * gem_count : 0
     */

    private List<DataEntity> data;

    public void setCode(String code) {
        this.code = code;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }

    public List<DataEntity> getData() {
        return data;
    }

    public static class DataEntity {
        private String id;
        private String type;
        private String hb_group;
        private String status;
        private String amount;
        private String get_time;
        private String merchant;
        private String type_name;
        private String volume_count;
        private String gem_count;

        public void setId(String id) {
            this.id = id;
        }

        public void setType(String type) {
            this.type = type;
        }

        public void setHb_group(String hb_group) {
            this.hb_group = hb_group;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public void setAmount(String amount) {
            this.amount = amount;
        }

        public void setGet_time(String get_time) {
            this.get_time = get_time;
        }

        public void setMerchant(String merchant) {
            this.merchant = merchant;
        }

        public void setType_name(String type_name) {
            this.type_name = type_name;
        }

        public void setVolume_count(String volume_count) {
            this.volume_count = volume_count;
        }

        public void setGem_count(String gem_count) {
            this.gem_count = gem_count;
        }

        public String getId() {
            return id;
        }

        public String getType() {
            return type;
        }

        public String getHb_group() {
            return hb_group;
        }

        public String getStatus() {
            return status;
        }

        public String getAmount() {
            return amount;
        }

        public String getGet_time() {
            return get_time;
        }

        public String getMerchant() {
            return merchant;
        }

        public String getType_name() {
            return type_name;
        }

        public String getVolume_count() {
            return volume_count;
        }

        public String getGem_count() {
            return gem_count;
        }
    }
}
